ga.view.billard
Class BillardEvaluationState.ClickListener

java.lang.Object
  extended by ga.view.interfaces.MouseListener
      extended by ga.view.billard.BillardEvaluationState.ClickListener
All Implemented Interfaces:
com.jme3.input.controls.ActionListener, com.jme3.input.controls.InputListener
Enclosing class:
BillardEvaluationState<T extends IAgeIndividual<T>>

private class BillardEvaluationState.ClickListener
extends MouseListener

Mouse listener to recognize clicks on objects.

Since:
12.08.2012
Author:
Stephan Dreyer

Constructor Summary
private BillardEvaluationState.ClickListener()
           
 
Method Summary
 void onAction(java.lang.String name, boolean keyPressed, boolean isDoubleClick, float tpf)
          Callback method for mouse events.
 
Methods inherited from class ga.view.interfaces.MouseListener
isEnabled, onAction, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BillardEvaluationState.ClickListener

private BillardEvaluationState.ClickListener()
Method Detail

onAction

public void onAction(java.lang.String name,
                     boolean keyPressed,
                     boolean isDoubleClick,
                     float tpf)
Description copied from class: MouseListener
Callback method for mouse events. Subclasses must implement this to add custom code.

Specified by:
onAction in class MouseListener
Parameters:
name - Name of the action.
keyPressed - true if the key is still pressed.
isDoubleClick - true if it is a double click.
tpf - The time per frame.